package com.zxm.web.controller.message;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

/**
 * @Author silence.Z
 * @Date 2022/8/29 13:38
 * @PackageName:com.zxm.web.controller.message
 * @ClassName: SseEvent
 * @Description: TODO
 * @Version 1.0
 */
@Getter
@Setter
@ToString
public class SseEvent<T> extends ApplicationEvent {
	private int code;
	private String userId;
	private T msg;

	public SseEvent(Object source) {
		super(source);
	}
}
